package com.github.ghsea.scheduler.entity;

/**
 * @author guhai
 * @since 2021/6/18 23:25
 */
public class AliveTaskStatistics {

    /**
     * 存活的task的数量
     */
    private int aliveTasksCount;

    long minTaskId;

    private long maxTaskId;

    public int getAliveTasksCount() {
        return aliveTasksCount;
    }

    public AliveTaskStatistics setAliveTasksCount(int aliveTasksCount) {
        this.aliveTasksCount = aliveTasksCount;
        return this;
    }

    public long getMaxTaskId() {
        return maxTaskId;
    }

    public AliveTaskStatistics setMaxTaskId(long maxTaskId) {
        this.maxTaskId = maxTaskId;
        return this;
    }

    public long getMinTaskId() {

        return minTaskId;
    }

    public AliveTaskStatistics setMinTaskId(long minTaskId) {
        this.minTaskId = minTaskId;
        return this;
    }
}
